
package com.bei_en.teacher.management.model.system.vo;

import java.util.*;
import com.bei_en.teacher.management.model.system.bean.SystemRoleResource;
import com.bei_en.teacher.management.model.BaseVo;
import javax.validation.constraints.*;

/**
 * 用于前端页面数据传递
 * 角色-资源
 * @author Longqs
 * @date 2016-6-15 15:02:01
 */
public class SystemRoleResourceVo extends BaseVo {

    private SystemRoleResource systemRoleResource;

    public SystemRoleResourceVo() {

	this.systemRoleResource = new SystemRoleResource();
    }

    public SystemRoleResourceVo(SystemRoleResource systemRoleResource) {

	this.systemRoleResource = systemRoleResource;
    }

    public SystemRoleResource getSystemRoleResource() {

	return this.systemRoleResource;
    }

    public void setSystemRoleResource(SystemRoleResource systemRoleResource) {

	this.systemRoleResource = systemRoleResource;
    }

    public void setId(Integer value) {

	this.systemRoleResource.setId(value);
    }

    public Integer getId() {

	return this.systemRoleResource.getId();
    }

    public void setRoleId(Integer value) {

	this.systemRoleResource.setRoleId(value);
    }

    @NotNull
    public Integer getRoleId() {

	return this.systemRoleResource.getRoleId();
    }

    public void setResourceId(Integer value) {

	this.systemRoleResource.setResourceId(value);
    }

    @NotNull
    public Integer getResourceId() {

	return this.systemRoleResource.getResourceId();
    }

    public void setCreateTime(Date value) {

	this.systemRoleResource.setCreateTime(value);
    }

    public Date getCreateTime() {

	return this.systemRoleResource.getCreateTime();
    }

}